package whf.survey.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.util.BeanFactory;
import whf.survey.dao.SurveyTopicDAO;
import whf.survey.entity.SurveyTopic;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-09-12
 */
public class SurveyTopicServiceImp extends whf.framework.service.ServiceImp<SurveyTopic> implements SurveyTopicService {

	private SurveyTopicDAO surveyTopicDAO;

	/**
	 * @modify wanghaifeng Sep 12, 2006 10:25:13 PM
	 * @param surveyTopicDAO
	 */
	public void setSurveyTopicDAO(SurveyTopicDAO surveyTopicDAO) {
		this.surveyTopicDAO = surveyTopicDAO;
	}

	public static SurveyTopicService getSurveyTopicService() throws ServiceNotFoundException {
		return (SurveyTopicService)BeanFactory.getService(SurveyTopicServiceImp.class) ;
	}

} 